﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace AUV5.Model
{
    /// <summary>
    /// 功能：     实体类 ServiceAttachment (存储发布信息所包含的附件（视频，音频，图片等）) 
    /// 作者：     lwl
    /// 日期：     2011/10/19
    /// 修改日期： 
    /// 修改人：
    /// 修改内容：
    /// </summary>
    [Serializable]
    public class ServiceAttachment
    {
        public ServiceAttachment()
        {

        }

        #region Model

        private string _attachmentid;
        private string _serviceid;
        private string _imagepath;
        private string _videopath;
        private string _videolength;
        private int _isdel;
        private int _state;
        private DateTime _updatedate = DateTime.Parse("1900-1-1");
        private DateTime _createdate = DateTime.Parse("1900-1-1");
        private DateTime _begindate = DateTime.Parse("1900-1-1");
        private DateTime _enddate = DateTime.Parse("1900-1-1");

        /// <summary>
        /// 视频长度
        /// </summary>
        public string VideoLength
        {
            get { return _videolength; }
            set { _videolength = value; }
        }
        /// <summary>
        /// 附件ID
        /// </summary>
        public string AttachmentID
        {
            get { return _attachmentid; }
            set { _attachmentid = value; }
        }
        /// <summary>
        /// 服务ID
        /// </summary>
        public string ServiceID
        {
            get { return _serviceid; }
            set { _serviceid = value; }
        }
        /// <summary>
        /// 图片路径
        /// </summary>
        public string ImagePath
        {
            get { return _imagepath; }
            set { _imagepath = value; }
        }
        /// <summary>
        /// 视频路径
        /// </summary>
        public string VideoPath
        {
            get { return _videopath; }
            set { _videopath = value; }
        }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDel
        {
            get { return _isdel; }
            set { _isdel = value; }
        }
        /// <summary>
        /// 状态 
        /// </summary>
        public int State
        {
            get { return _state; }
            set { _state = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime UpdateDate
        {
            get { return _updatedate; }
            set { _updatedate = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateDate
        {
            get { return _createdate; }
            set { _createdate = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime BeginDate
        {
            get { return _begindate; }
            set { _begindate = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime EndDate
        {
            get { return _enddate; }
            set { _enddate = value; }
        }

        #endregion Model
    }
}
